package org.smart4j.framework.helper;

import org.smart4j.framework.ConfigConstant;
import org.smart4j.util.PropsUtil;

import java.util.Properties;

/**
 * Created by liquan on 2017/6/12.
 */
public class ConfigHelper {
    private static final Properties CONFIG_PROPS = PropsUtil.loadProps(ConfigConstant.CONFIG_FILE);

    public static String getJdbcDriver() {
        return PropsUtil.getString(CONFIG_PROPS, ConfigConstant.JDBC_DRIVER);
    }
}
